package Jump_statement;

public class break_demo {
    public static void main(String[] args) {
        for (int i = 0; i <= 3; i++) {
            if (i == 2) {
                System.out.println("i=" + i);
                break;
        }
            System.out.println(i);
        }
    }
}
